﻿namespace JiaBao.Core.Plugins
{
    /// <summary>
    /// 插件基础接口
    /// </summary>
    public interface IPlugin
    {
        /// <summary>
        /// 插件说明
        /// </summary>
        PluginDescriptor PluginDescriptor { get; set; }

        /// <summary>
        /// 安装
        /// </summary>
        void Install();

        /// <summary>
        /// 卸载
        /// </summary>
        void Uninstall();
    }
}
